<?php

/**
 * @version $Id$
 * @package
 * @author Alexander Anokhin <ava@vaz.ru>
 */

class ReqValues extends Zend_Db_Table
{
	protected $_name = 'doc_rek';
	protected $_primary = array('id_rek','doc_id');
	
	protected $_referenceMap    = array(
        'Document' => array(
            'columns'           => 'doc_id',
            'refTableClass'     => 'Documents',
            'refColumns'        => 'doc_id'
        ),
        'Requisite' => array(
        	'colomns' 			=> 'id_rek',
        	'refTableClass'		=> 'Requisites',
        	'refColumns'		=> 'id_rek'
        )        
    );
}
